package com.suoluo.zenadmin.service.account;

import com.suoluo.zenadmin.vo.account.AccountVO;
import com.suoluo.zenadmin.vo.account.OpenAccountVO;
import com.suoluo.zenadmin.vo.share.AuthedVO;
import com.suoluo.zenadmin.vo.share.ShareVO;

public interface AccountService {

	ShareVO findShareData(int shareType, String oriurl, int dataId);
	
	AccountVO updateAuthed(AccountVO account,AuthedVO authedVO);
	
	AccountVO findAccount(int openType,String openId);
	
	AccountVO findAccount(int accountId);
	
	/**
	 * 根据用户昵称查询用户的授权记录
	 * @param userScreen
	 * @return
	 */
	public OpenAccountVO findOpenAccountByName(String userScreen);
}
